package com.ruoyi.param.mapper;

import com.ruoyi.param.domain.TparamTm;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TparamTmMapper {

    int deleteByPrimaryKey(String id);

    int insert(TparamTm record);

    void insertSelective(TparamTm record);

    TparamTm selectByPrimaryKey(String id);

    void updateByRoomIdSelective(TparamTm record);

    int updateByPrimaryKey(TparamTm record);

    List<TparamTm> selectTmList(TparamTm record);

    List<TparamTm> selectByRoomId(String roomId);

    void deleteByRoomIds(@Param("roomIds") List<String> roomIds);

    void refresh(List<TparamTm> records);
}